package com.woniu.stafforder.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 订单物流
 * @TableName t_order_express
 */
@TableName(value ="t_order_express")
@Data
public class OrderExpress implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 物流公司名称
     */
    private String companyName;

    /**
     * 物流公司编码
     */
    private String companyCode;

    /**
     * 快递单号
     */
    private String expressCode;

    /**
     * 状态 0运输中 1已到达 2已取消 -1已删除
     */
    private Integer status;

    /**
     * 起始省
     */
    private String startProvince;

    /**
     * 起始市
     */
    private String startPlace;

    private String startArea;
    private String startAddr;

    /**
     * 结束省
     */
    private String endProvince;

    /**
     * 结束市
     */
    private String endPlace;
    private String endArea;
    private String endAddr;

    /**
     * 子订单id
     */
    private Long orderDetailId;

    /**
     * 创建时间
     */
    private Date createTime;

    private Double currentLng;
    private Double currentLat;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}